package com.xinruke.hostels.dailymanage.interfaces.dto.roomstatuschange;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("房间状态变更记录查询结果DTO")
@Data
public class RoomStatusChangeRecordQueryResultDTO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "酒店id")
    private Integer jiudianId;

    @ApiModelProperty(value = "房间id")
    private Integer fangjianId;

    @ApiModelProperty(value = "房间编号")
    private String fangjianbianhao;

    @ApiModelProperty(value = "原状态")
    private Byte yuanzhuangtai;

    @ApiModelProperty(value = "当前状态")
    private Byte dangqianzhuangtai;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date kaishishijian;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date jieshushijian;

    @ApiModelProperty(value = "源id")
    private Integer yuanid;

    @ApiModelProperty(value = "业务类型")
    private Byte yewuleixing;

    @ApiModelProperty("创建人id")
    private Integer chuangjianrenId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinshijian;
}
